package com.parenting.service;

import com.parenting.entities.ReplyDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.parenting.model.UserDTO;
import com.parenting.request.ReplyRequest;
import com.parenting.response.ReplyListResponse;

import java.util.List;

/**
 * <p>
 * 回复表 服务类
 * </p>
 *
 * @author 烟台业达-王世玺
 * @since 2021-09-27
 */
public interface ReplyService extends IService<ReplyDO> {
    /****
     * 回复 列表
     * @param evaluationId
     * @return
     */
  List<ReplyListResponse> getReplyListResponse(String evaluationId);

    /***
     * 保持 回复
     * @param replyRequest 回复信息
     * @param user  当前登录人信息
     */
  void  addReply(ReplyRequest replyRequest, UserDTO user);
}
